package com.mikufufu.blog.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 系统设置表
 * 
 */
@Data
@TableName(value = "blog_sys_setting")
public class SysSetting implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 配置编号
     */
    @TableField(value = "code")
    @ApiModelProperty(value = "配置编号")
    private String code;

    /**
     * 配置名称
     */
    @TableField(value = "config_name")
    @ApiModelProperty(value = "配置名称")
    private String configName;

    /**
     * 配置描述
     */
    @TableField(value = "remark")
    @ApiModelProperty(value = "配置描述")
    private String remark;

    /**
     * 配置的值
     */
    @TableField(value = "`value`")
    @ApiModelProperty(value = "配置的值")
    private String value;

    /**
     * 是否启用
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "是否启用（0.启用，1.停用）")
    private Integer status;

    private static final long serialVersionUID = 1L;
}